package myself.register.serviceImpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import myself.entity.TeacherInfoEntity;
import myself.register.dao.RegisterDao;
import myself.register.service.RegisterService;
@Service
public class RegisterServiceImpl implements RegisterService{

	@Resource
	private RegisterDao registerDao;
	
	public void insertToTeacher(TeacherInfoEntity teacherInfoEntity) {
		
		registerDao.insertToTeacher(teacherInfoEntity);
	}


	public String qryMaxTeacherCode() {
		
		return registerDao.qryMaxTeacherCode();
	}

}
